<div ng-include="sys_html('common/header')"></div>
<link data-n-head="true" rel="stylesheet" type="text/css" href="../addons/jy_zhongyi/resource/css/about.css?v=3">
<div id="body">
  <div ng-include="sys_html('common/top')"></div>
  <div class="about_body">
  <div class="about_banner">
    <h1 class="pc">
      中医连锁品牌<br />
      覆盖5城9店，累计服务人次百万+
    </h1>
    <h1 class="yd">
      中医连锁品牌<br />
      覆盖5城9店<br />
      累计服务人次百万+
    </h1>
  </div>
  <div class="about_container">
    <div class="menu_left">
      <div ng-class="{'menu':1,'select':pagedata.op=='basic'}">	  
		<p href="javascript:;" ng-click="pagedata.get_item('basic');"><i class="icon icon-wenzhangliebiao"></i> 企业简介</p>
	  </div>
	  <div ng-class="{'menu':1,'select':pagedata.op=='store'}">	  
		<p href="javascript:;" ng-click="pagedata.get_item('store');"><i class="icon icon-dianpu"></i> 全国门店</p>
	  </div>
	  <div ng-class="{'menu':1,'select':pagedata.op=='baoxian'}">	  
		<p href="javascript:;" ng-click="pagedata.get_item('baoxian');"><i class="icon icon-dianpu"></i> 保险直付</p>
	  </div>
	  <div ng-class="{'menu':1,'select':pagedata.op=='qiye'}">	  
		<p href="javascript:;" ng-click="pagedata.get_item('qiye');"><i class="icon icon-dianpu"></i> 企业客户</p>
	  </div>
	  <div ng-class="{'menu':1,'select':pagedata.op=='news'}">	  
		<p href="javascript:;" ng-click="pagedata.get_item('news');"><i class="icon icon-dianpu"></i> 最新动态</p>
	  </div>
      <div ng-class="{'menu':1,'select':pagedata.op=='join'}">
		<p href="javascript:;" ng-click="pagedata.get_item('join');"><i class="icon icon-wenzhangliebiao"></i> 加入我们</p>
	  </div>
    </div>
    <div class="menu_zan_container container_right">
      <div class="type">
        <span class="type_span">{{pagedata.item.title}}</span> <span class="type_other"></span>
      </div>
      <div ng-if="pagedata.op!='store' && pagedata.op!='news'" class="fui-article-content" ng-bind-html="trust(pagedata.item.content)"></div> 
	  <div ng-if="pagedata.op=='qiye' || pagedata.op=='baoxian'" class="qiye_img_box clearFix">
        <div ng-repeat="item in pagedata.item.images" class="qiye_img yd_qiye_img">
          <img ng-src="{{tomedia(item.image) || '../core/resource/images/nopic.jpg'}}" alt="" />
        </div>
      </div>
	  <div ng-if="pagedata.op=='store'">
		  <div class="chengshi">
			<a href="javascript:void (0)" ng-click="pagedata.params.area_id=a.id;pagedata.areatitle=a.title;pagedata.get_storelist();" ng-repeat="a in pagedata.area" ng-class="{'cfocus':pagedata.params.area_id==a.id}">{{a.title}}</a>
		  </div>
		  <div class="chengshi_img">
			<div id="chengshi_bj">
			  <div ng-repeat="item in pagedata.list" class="mendian_box">
				<img ng-src="{{tomedia(item.logo) || '../core/resource/images/nopic.jpg'}}" alt="" />
				<div class="right">
				  <span class="name">{{item.title}}</span>
				  <p>
					{{item.desc}}
				  </p>
				  <span class="address">地址：{{item.address}}</span>
				  <a style="float:none" href="https://www.amap.com/search?geoobj={{item.lat_lng.lat}}%7C{{item.lat_lng.lng}}&amp;query_type=IDQ&amp;query={{item.title}}&amp;zoom=17"
					target="_blank">查看地图 &gt;
				  </a>
				</div>
			  </div>
			</div>
		  </div>
		</div>
		<div ng-if="pagedata.op=='news'" ng-repeat="item in pagedata.list" class="dongtai_list">
			<img ng-src="{{tomedia(item.picurl) || '../core/resource/images/nopic.jpg'}}"/>
			<div class="content_box">
			  <a href="javascript:" ng-click="access_json('jy_zhongyi/article/detail/id='+item.id)">
				{{item.title}}
			  </a>
			  <p class="content"></p>
			  <span class="time">{{item.creattime}}</span>
			</div>
		</div>
	</div>
    <div class="hide"></div>
  </div>
</div>
<div ng-include="sys_html('common/footer')"></div>
</div>
<script>
scope.pagedata.get_item=function(op){
	scope.pagedata.op=op
	if(op=='news'){
		scope.pagedata.item.title='最新动态';
		scope.tool.get_list('jy_zhongyi/article/list/',true);
	}else if(op=='store'){
		scope.get('jy_zhongyi/get_data/getarea/',function(res){
				scope.pagedata.area=res.list
				scope.pagedata.params.area_id=res.list[0].id;
		});
		scope.pagedata.get_storelist=function(){
			scope.tool.get_list('jy_zhongyi/store_list/getlist/',true);
		}
		scope.pagedata.item.title='全国门店';
		scope.pagedata.get_storelist();
	}else{
		scope.get('jy_zhongyi/about/'+op,function(res){
			scope.pagedata.item=res.item;
			scope.$evalAsync();
		});
	}
}
scope.pagedata.scroll_bottom=function(){
	if(scope.pagedata.op=='store'){
		scope.tool.get_list('jy_zhongyi/store_list/getlist/');
	}
}
</script>